package com.go.where.family.component;

import java.util.List;

import com.go.where.family.pojo.CourseInfo;
import com.go.where.family.pojo.CourseRetrospectInfo;
import com.go.where.family.scoket.Head;
import com.go.where.family.vo.CourseVo;

/**
 * 课程（公益大课堂）信息组件
 * 
 * @author java
 * 
 */
public interface CourseComponent {

	/**
	 * 公益大课堂分页查询列表(当有传月份时，即为课程排期查询)
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public List<CourseInfo> queryList(String body, Head head);

	/**
	 * 课程排期查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public List<CourseVo> queryCourses(String body, Head head);

	/**
	 * 课程回顾分页查询（往前课堂回顾）
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public List<CourseRetrospectInfo> queryRetroList(String body, Head head);

	/**
	 * 查询详情
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public CourseInfo queryCourseDetail(String body, Head head);
	
	public boolean update(String body, Head head);

}
